package factory;

import dao.ContractDaoimpl;
import dao.IContract;

public class ContractDaoFactory {
    public static IContract getInstance(){  //生产合同信息的工厂
        //返回的是ContractDaoimpl---->IContract=new CustomDaoimpl()  实例化其实现类
        return new ContractDaoimpl();
    }
}
